# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=compp
_pkgname=ComPP
pkgver=1.0.5
pkgrel=7
pkgdesc='Company Passwords Profiler helps making a bruteforce wordlist for a targeted company.'
groups=('blackarch' 'blackarch-cracker')
arch=('any')
url='https://github.com/sec-it/ComPP'
license=('MIT')
depends=('python' 'python-colorama')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
sha512sums=('fd6a01d85350f7d2ab84b73a9ceea02331dfc03d5e10b3e03eea663f316831d1f226b8747d1a4ad42ead6788d726be426045825d083deca8ff6d43eacce91517')

build() {
  cd "$_pkgname-$pkgver"

  python setup.py build
}

package() {
  cd "$_pkgname-$pkgver"

  python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build
}

